/*
 * @Author: lsy
 * @Date: 2023-02-20 09:58:54
 * @LastEditors: lsy
 * @LastEditTime: 2023-02-21 10:52:13
 * @Description: 请填写简介
 */
import config from "@/config"
import http from "@/utils/request"

export default {
  // #region 校区列表接口
  list: {
    url: `${config.API_URL}/college/school/page`,
    name: '分页查询校区',
    get: async function (params) {
      return await http.post(this.url, params);
    }
  },
  // #endregion 校区列表接口
  
  // #region 下拉框获取校区列表接口
  dropdown: {
    url: `${config.API_URL}/college/school/dropdown`,
    name: '下拉框获取校区列表接口',
    get: async function (params) {
      return await http.get(this.url, params)
    }
  }
  // #endregion 下拉框获取校区列表接口
}